<?php

    define('MYHOST','localhost');
    define('MYPORT',3306);
    define('MYDATABASE','gestiondb');
    define('MYUSER', 'root');
    define('MYPASSWORD', '');
    define('MYCLIENTENCODING','UTF8');
    define('ERROR_ON_CONNECT_FAILED','No se puede conectar de la Base de Datos!');

    $this->conexion = new mysqli(MYHOST, MYUSER, MYPASSWORD, MYDATABASE, MYPORT) OR die(ERROR_ON_CONNECT_FAILED);
    
    //pg_set_client_encoding(PGCLIENTENCODING);
    
?>